package com.haoxuewa.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haoxuewa.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {

    public Page<User> selectAllUser(int pageNum, int pageSize);

    public List<Map<String, Object>> userGenderQuantity();

    public Boolean deleteUser(String name);

    public Boolean addUser(String userName, String password, String gender, String birthday);
}
